package com.wins.bbs.entity;

import java.io.Serializable;

public class User extends PropertyMap implements Serializable {
    private String id;
    private String loginId;
    private String password;
    private String salt;
    private int userType;
    private long lastLogin;

    public String getId() {
        return this.id;
    }

    public void setId(final String id) {
        this.id = id;
    }

    public String getLoginId() {
        return this.loginId;
    }

    public void setLoginId(final String loginId) {
        this.loginId = loginId;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(final String password) {
        this.password = password;
    }

    public String getSalt() {
        return this.salt;
    }

    public void setSalt(final String salt) {
        this.salt = salt;
    }

    public int getUserType() {
        return this.userType;
    }

    public void setUserType(final int userType) {
        this.userType = userType;
    }

    public long getLastLogin() {
        return this.lastLogin;
    }

    public void setLastLogin(final long lastLogin) {
        this.lastLogin = lastLogin;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + this.id + '\'' +
                ", loginId='" + this.loginId + '\'' +
                ", password='" + this.password + '\'' +
                ", salt='" + this.salt + '\'' +
                ", userType='" + this.userType + '\'' +
                ", lastLogin=" + this.lastLogin +
                '}';
    }
}
